package com.lam.common.components.file.service;

import com.lam.common.components.file.model.FileBusiTypeEnum;
import com.lam.common.components.file.model.FileDownloadInfo;

public interface FileService {
	
	FileDownloadInfo getDownloadInfo(FileBusiTypeEnum busiType, String sign);
	
	FileDownloadInfo createDownloadInfo(FileBusiTypeEnum busiType, String path, int expireDay);
	
	boolean deleteBySign(FileBusiTypeEnum busiType, String sign);
	
	boolean deleteByPath(FileBusiTypeEnum busiType, String sign);
	
	void updateUseFlagByFileName(String fileName);
	

}
